
axoptions={'scaled ticks = false',...
           'y tick label style={/pgf/number format/.cd, fixed, fixed zerofill,precision=0, set thousands separator={}}',...
           'x tick label style={/pgf/number format/.cd,precision=1, set thousands separator={}}',...
           'legend style={font=\normalsize}'}; %\scriptsize

 
%% Figure O.1 (a)

figure('name','Figure O.1 (a)','NumberTitle','off')
h = loglog(OurxaxisUK_m ,OuryaxisUK_m,'LineWidth', 2); hold on
loglog(OurxaxisUK_um ,OuryaxisUK_um,'LineWidth', 2);

ax = ancestor(h, 'axes');
ax.XAxis.Exponent = 0;
ax.XAxis.TickLabelFormat = '%.0f';
xlim([min(OurxaxisUK_um), 100000]) 
ylim([min(OuryaxisUK_um), max(OuryaxisUK_m)])
xticklabels({'10,000', '100,000'})
yticklabels({'1,000', '10,000'})
xlabel('Income in 2017')
ylabel('1974 Income that gives the same utility as in 2017')
legend('married','unmarried','Location','northwest')
%matlab2tikz('../fig/Money_married.tex','extraAxisOptions',axoptions);


